<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TMCStepper: src/source/COOLCONF.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">TMCStepper
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_c_o_o_l_c_o_n_f_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">COOLCONF.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_o_o_l_c_o_n_f_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c_stepper_8h.html">TMCStepper.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c___m_a_c_r_o_s_8h.html">TMC_MACROS.h</a>&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">    4</a></span>&#160;<span class="preprocessor">#define SET_REG(SETTING) COOLCONF_register.SETTING = B; write(COOLCONF_register.address, COOLCONF_register.sr);</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">    5</a></span>&#160;<span class="preprocessor">#define GET_REG(SETTING) return COOLCONF_register.SETTING;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// COOLCONF</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#abc48be984238d94bb3b72ed3aa26f028">    8</a></span>&#160;uint32_t <a class="code" href="class_t_m_c2130_stepper.html#abc48be984238d94bb3b72ed3aa26f028">TMC2130Stepper::COOLCONF</a>() { <span class="keywordflow">return</span> COOLCONF_register.sr; }</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#afc1072e86397d2646fd4fb7b30e41ab8">    9</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#abc48be984238d94bb3b72ed3aa26f028">TMC2130Stepper::COOLCONF</a>(uint32_t input) {</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    COOLCONF_register.sr = input;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    <a class="code" href="class_t_m_c2130_stepper.html#a1f26f0ea072d38c0afd20f27563ebb64">write</a>(COOLCONF_register.address, COOLCONF_register.sr);</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;}</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#aa8afafac85f1e44a910940ca4ecb021d">   14</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#ac09cc2442de3b9a97959ede240073b24">TMC2130Stepper::semin</a>( uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#ac09cc2442de3b9a97959ede240073b24">semin</a>);   }</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a5d5b366a71d3822f342552b7b3c2e775">   15</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a6bb907f9713c3c019d6dd91d5594bba0">TMC2130Stepper::seup</a>(  uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a6bb907f9713c3c019d6dd91d5594bba0">seup</a>);    }</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a967520f3ac0952e83bf4e7444743fb15">   16</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#afbdaba9c0942875cf1674774a98c303e">TMC2130Stepper::semax</a>( uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#afbdaba9c0942875cf1674774a98c303e">semax</a>);   }</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#afd2d523526248e608e9f86234c906c58">   17</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a1935476316e43802ade68dd84d346907">TMC2130Stepper::sedn</a>(  uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a1935476316e43802ade68dd84d346907">sedn</a>);    }</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a20dd09a9edb8fef8fe630f92794094b2">   18</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a854fbf50049cf55e4e44bab89ac7e4cf">TMC2130Stepper::seimin</a>(<span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a854fbf50049cf55e4e44bab89ac7e4cf">seimin</a>);  }</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a5f95feb409933117fda4aaf1241e0f70">   19</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a90d8c713bf102169e7fcdf676ebf2e51">TMC2130Stepper::sgt</a>(   int8_t  B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a90d8c713bf102169e7fcdf676ebf2e51">sgt</a>);     }</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#afcd37a97eb546a6d11af8a279631ac1f">   20</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a7b574d88a361e26715a029d5d77acc15">TMC2130Stepper::sfilt</a>( <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a7b574d88a361e26715a029d5d77acc15">sfilt</a>);   }</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ac09cc2442de3b9a97959ede240073b24">   22</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#ac09cc2442de3b9a97959ede240073b24">TMC2130Stepper::semin</a>() { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#ac09cc2442de3b9a97959ede240073b24">semin</a>);   }</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a6bb907f9713c3c019d6dd91d5594bba0">   23</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#a6bb907f9713c3c019d6dd91d5594bba0">TMC2130Stepper::seup</a>()  { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a6bb907f9713c3c019d6dd91d5594bba0">seup</a>);    }</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#afbdaba9c0942875cf1674774a98c303e">   24</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#afbdaba9c0942875cf1674774a98c303e">TMC2130Stepper::semax</a>() { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#afbdaba9c0942875cf1674774a98c303e">semax</a>);   }</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a1935476316e43802ade68dd84d346907">   25</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#a1935476316e43802ade68dd84d346907">TMC2130Stepper::sedn</a>()  { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a1935476316e43802ade68dd84d346907">sedn</a>);    }</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a854fbf50049cf55e4e44bab89ac7e4cf">   26</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a854fbf50049cf55e4e44bab89ac7e4cf">TMC2130Stepper::seimin</a>(){ <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a854fbf50049cf55e4e44bab89ac7e4cf">seimin</a>);  }</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a7b574d88a361e26715a029d5d77acc15">   27</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a7b574d88a361e26715a029d5d77acc15">TMC2130Stepper::sfilt</a>() { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a7b574d88a361e26715a029d5d77acc15">sfilt</a>);   }</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a90d8c713bf102169e7fcdf676ebf2e51">   29</a></span>&#160;int8_t <a class="code" href="class_t_m_c2130_stepper.html#a90d8c713bf102169e7fcdf676ebf2e51">TMC2130Stepper::sgt</a>() {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="comment">// Two&#39;s complement in a 7bit value</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    int8_t val = (COOLCONF_register.sgt &amp;  0x40) &lt;&lt; 1; <span class="comment">// Isolate sign bit</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    val |= COOLCONF_register.sgt &amp; 0x7F;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keywordflow">return</span> val;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;}</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a069f66b9d21316332a12a80327ae1971">   36</a></span>&#160;uint16_t <a class="code" href="class_t_m_c2209_stepper.html#a069f66b9d21316332a12a80327ae1971">TMC2209Stepper::COOLCONF</a>() { <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2209_stepper.html#a9d2a143190a39935b32f3814b0668de4">COOLCONF_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t.html#ae9cfa1f688e7e33e3ef447f7f28afe42">sr</a>; }</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#add1136accc0b089a157c95fdf8e1e685">   37</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#a069f66b9d21316332a12a80327ae1971">TMC2209Stepper::COOLCONF</a>(uint16_t input) {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="class_t_m_c2209_stepper.html#a9d2a143190a39935b32f3814b0668de4">COOLCONF_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t.html#ae9cfa1f688e7e33e3ef447f7f28afe42">sr</a> = input;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">write</a>(<a class="code" href="class_t_m_c2209_stepper.html#a9d2a143190a39935b32f3814b0668de4">COOLCONF_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t.html#a626692439ee466fb191daaaa5b6bfd30">address</a>, <a class="code" href="class_t_m_c2209_stepper.html#a9d2a143190a39935b32f3814b0668de4">COOLCONF_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t.html#ae9cfa1f688e7e33e3ef447f7f28afe42">sr</a>);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;}</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a74d56e77878e747aa1f103c1e4d765da">   42</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#af58c5392a407eb5e29726144f4a2a3d9">TMC2209Stepper::semin</a>( uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#af58c5392a407eb5e29726144f4a2a3d9">semin</a>);   }</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#afc80f11bd64409e75b1497f53864058f">   43</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#a7977279069ee9e205b75b0c1c65990cd">TMC2209Stepper::seup</a>(  uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#a7977279069ee9e205b75b0c1c65990cd">seup</a>);    }</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#aac6c2ffdb7ef1c6045f2e80e6224e076">   44</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#a376c7a2c8e7283a956d10a429c1427d6">TMC2209Stepper::semax</a>( uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#a376c7a2c8e7283a956d10a429c1427d6">semax</a>);   }</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#aff0fb1d3a79c96ba508450da32c86d73">   45</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#a9f400f1b0e349ea6b7400e3438799d06">TMC2209Stepper::sedn</a>(  uint8_t B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#a9f400f1b0e349ea6b7400e3438799d06">sedn</a>);    }</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a02425ef2459513c7b2dddf917d28cec4">   46</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#abb464d66ab81bc7fb7d8ca07753a96eb">TMC2209Stepper::seimin</a>(<span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#abb464d66ab81bc7fb7d8ca07753a96eb">seimin</a>);  }</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#af58c5392a407eb5e29726144f4a2a3d9">   48</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2209_stepper.html#af58c5392a407eb5e29726144f4a2a3d9">TMC2209Stepper::semin</a>() { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#af58c5392a407eb5e29726144f4a2a3d9">semin</a>);   }</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a7977279069ee9e205b75b0c1c65990cd">   49</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2209_stepper.html#a7977279069ee9e205b75b0c1c65990cd">TMC2209Stepper::seup</a>()  { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#a7977279069ee9e205b75b0c1c65990cd">seup</a>);    }</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a376c7a2c8e7283a956d10a429c1427d6">   50</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2209_stepper.html#a376c7a2c8e7283a956d10a429c1427d6">TMC2209Stepper::semax</a>() { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#a376c7a2c8e7283a956d10a429c1427d6">semax</a>);   }</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a9f400f1b0e349ea6b7400e3438799d06">   51</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2209_stepper.html#a9f400f1b0e349ea6b7400e3438799d06">TMC2209Stepper::sedn</a>()  { <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#a9f400f1b0e349ea6b7400e3438799d06">sedn</a>);    }</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#abb464d66ab81bc7fb7d8ca07753a96eb">   52</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2209_stepper.html#abb464d66ab81bc7fb7d8ca07753a96eb">TMC2209Stepper::seimin</a>(){ <a class="code" href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a>(<a class="code" href="class_t_m_c2209_stepper.html#abb464d66ab81bc7fb7d8ca07753a96eb">seimin</a>);  }</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="a_c_o_o_l_c_o_n_f_8cpp_html_a6e4f7ba2fdd5a548e9a0383905ada143"><div class="ttname"><a href="_c_o_o_l_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a></div><div class="ttdeci">#define SET_REG(SETTING)</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00004">COOLCONF.cpp:4</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a9f400f1b0e349ea6b7400e3438799d06"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a9f400f1b0e349ea6b7400e3438799d06">TMC2209Stepper::sedn</a></div><div class="ttdeci">uint8_t sedn()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00051">COOLCONF.cpp:51</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_abb464d66ab81bc7fb7d8ca07753a96eb"><div class="ttname"><a href="class_t_m_c2209_stepper.html#abb464d66ab81bc7fb7d8ca07753a96eb">TMC2209Stepper::seimin</a></div><div class="ttdeci">bool seimin()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00052">COOLCONF.cpp:52</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a9d2a143190a39935b32f3814b0668de4"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a9d2a143190a39935b32f3814b0668de4">TMC2209Stepper::COOLCONF_register</a></div><div class="ttdeci">TMC2209_n::COOLCONF_t COOLCONF_register</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c_stepper_8h_source.html#l01062">TMCStepper.h:1062</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a7977279069ee9e205b75b0c1c65990cd"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a7977279069ee9e205b75b0c1c65990cd">TMC2209Stepper::seup</a></div><div class="ttdeci">uint8_t seup()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00049">COOLCONF.cpp:49</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a6bb907f9713c3c019d6dd91d5594bba0"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a6bb907f9713c3c019d6dd91d5594bba0">TMC2130Stepper::seup</a></div><div class="ttdeci">uint8_t seup()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00023">COOLCONF.cpp:23</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_abc48be984238d94bb3b72ed3aa26f028"><div class="ttname"><a href="class_t_m_c2130_stepper.html#abc48be984238d94bb3b72ed3aa26f028">TMC2130Stepper::COOLCONF</a></div><div class="ttdeci">uint32_t COOLCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00008">COOLCONF.cpp:8</a></div></div>
<div class="ttc" id="a_t_m_c_stepper_8h_html"><div class="ttname"><a href="_t_m_c_stepper_8h.html">TMCStepper.h</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a7b574d88a361e26715a029d5d77acc15"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a7b574d88a361e26715a029d5d77acc15">TMC2130Stepper::sfilt</a></div><div class="ttdeci">bool sfilt()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00027">COOLCONF.cpp:27</a></div></div>
<div class="ttc" id="a_t_m_c___m_a_c_r_o_s_8h_html"><div class="ttname"><a href="_t_m_c___m_a_c_r_o_s_8h.html">TMC_MACROS.h</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_afbdaba9c0942875cf1674774a98c303e"><div class="ttname"><a href="class_t_m_c2130_stepper.html#afbdaba9c0942875cf1674774a98c303e">TMC2130Stepper::semax</a></div><div class="ttdeci">uint8_t semax()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00024">COOLCONF.cpp:24</a></div></div>
<div class="ttc" id="a_c_o_o_l_c_o_n_f_8cpp_html_a851c499b52890f1c89886e8cf64a4415"><div class="ttname"><a href="_c_o_o_l_c_o_n_f_8cpp.html#a851c499b52890f1c89886e8cf64a4415">GET_REG</a></div><div class="ttdeci">#define GET_REG(SETTING)</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00005">COOLCONF.cpp:5</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_ac09cc2442de3b9a97959ede240073b24"><div class="ttname"><a href="class_t_m_c2130_stepper.html#ac09cc2442de3b9a97959ede240073b24">TMC2130Stepper::semin</a></div><div class="ttdeci">uint8_t semin()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00022">COOLCONF.cpp:22</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t_html_ae9cfa1f688e7e33e3ef447f7f28afe42"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t.html#ae9cfa1f688e7e33e3ef447f7f28afe42">TMC2209_n::COOLCONF_t::sr</a></div><div class="ttdeci">uint16_t sr</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00039">TMC2209_bitfields.h:39</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a1935476316e43802ade68dd84d346907"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a1935476316e43802ade68dd84d346907">TMC2130Stepper::sedn</a></div><div class="ttdeci">uint8_t sedn()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00025">COOLCONF.cpp:25</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a142b14de8a4dcc6cf76b4a6ede9e1cea"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">TMC2208Stepper::write</a></div><div class="ttdeci">void write(uint8_t, uint32_t)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00118">TMC2208Stepper.cpp:118</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a854fbf50049cf55e4e44bab89ac7e4cf"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a854fbf50049cf55e4e44bab89ac7e4cf">TMC2130Stepper::seimin</a></div><div class="ttdeci">bool seimin()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00026">COOLCONF.cpp:26</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a90d8c713bf102169e7fcdf676ebf2e51"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a90d8c713bf102169e7fcdf676ebf2e51">TMC2130Stepper::sgt</a></div><div class="ttdeci">int8_t sgt()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00029">COOLCONF.cpp:29</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a376c7a2c8e7283a956d10a429c1427d6"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a376c7a2c8e7283a956d10a429c1427d6">TMC2209Stepper::semax</a></div><div class="ttdeci">uint8_t semax()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00050">COOLCONF.cpp:50</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t_html_a626692439ee466fb191daaaa5b6bfd30"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_c_o_o_l_c_o_n_f__t.html#a626692439ee466fb191daaaa5b6bfd30">TMC2209_n::COOLCONF_t::address</a></div><div class="ttdeci">constexpr static uint8_t address</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00037">TMC2209_bitfields.h:37</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a1f26f0ea072d38c0afd20f27563ebb64"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a1f26f0ea072d38c0afd20f27563ebb64">TMC2130Stepper::write</a></div><div class="ttdeci">void write(uint8_t addressByte, uint32_t config)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130_stepper_8cpp_source.html#l00148">TMC2130Stepper.cpp:148</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a069f66b9d21316332a12a80327ae1971"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a069f66b9d21316332a12a80327ae1971">TMC2209Stepper::COOLCONF</a></div><div class="ttdeci">uint16_t COOLCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00036">COOLCONF.cpp:36</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_af58c5392a407eb5e29726144f4a2a3d9"><div class="ttname"><a href="class_t_m_c2209_stepper.html#af58c5392a407eb5e29726144f4a2a3d9">TMC2209Stepper::semin</a></div><div class="ttdeci">uint8_t semin()</div><div class="ttdef"><b>Definition:</b> <a href="_c_o_o_l_c_o_n_f_8cpp_source.html#l00048">COOLCONF.cpp:48</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_94e7a0fbe7f8eaf7f05ee7b02c647e9f.html">source</a></li><li class="navelem"><a class="el" href="_c_o_o_l_c_o_n_f_8cpp.html">COOLCONF.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
